package com.infore.dataAudit.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the T_TEST_STUDENT database table.
 * 
 */
@Entity
@Table(name="T_TEST_STUDENT")
@NamedQuery(name="TTestStudent.findAll", query="SELECT t FROM TTestStudent t")
public class TTestStudent implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigDecimal age;

	private String name;

	private String nex;

	//bi-directional many-to-one association to TTestClass
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name="CLS_ID")
	private TTestClass TTestClass;

	public TTestStudent() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigDecimal getAge() {
		return this.age;
	}

	public void setAge(BigDecimal age) {
		this.age = age;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNex() {
		return this.nex;
	}

	public void setNex(String nex) {
		this.nex = nex;
	}

	public TTestClass getTTestClass() {
		return this.TTestClass;
	}

	public void setTTestClass(TTestClass TTestClass) {
		this.TTestClass = TTestClass;
	}

}